<?php

declare(strict_types=1);

namespace App\Models\Elasticsearch;

use Elastic\Elasticsearch\Endpoints\Indices;

class Control
{

    // 操作索引
    public static function indices():Indices
    {

        return Connect::getDriver()->indices();
    }
}
